Finding the final structure.