corrected max height