Stiffness of the distal loop restricts the structural heterogeneity of the transition state ensemble in SH3 domains.