More careful calculation for height in wide mode