minimum height to complete loop