Assemble the two sub-assemblies with least alignment cost, and replace them with the new assembly that results. Compute the pairwise costs between the remaining subassemblies and the new assembly.