The document presents an iterative localization approach for wireless sensor networks that aligns small network elements using a new problem called inflexible body merging. This approach introduces an optimization algorithm that tolerates ranging noise and improves robustness against flip ambiguities, aiming to enhance network localization accuracy. The proposed methods have been validated through theoretical analysis and simulations, demonstrating better performance than traditional techniques.