Determining the vertical dimension