Use DEM max value to limit plane