According to this answer https://space.stackexchange.com/a/2254/44505this answer the minimum and maximum they could be were:
Pilots: Height between 62 and 75 inches. (1.57 to 1.90 meters)
Mission Specialists: Height between 58.5 and 76 inches. (1.49 to 1.93 meters)
It is quite understandable that there would be a maximum height so that they could fit into the capsule and so that there was not too much weight. Why was there a minimum height?