map height calculation changed