It all works out if you take what the Ulamaa have said about lining up for Salah to mean aligning the rows and not actual touching of all the body parts mentioned in those Ahadith.