fix min/max terrain height #22