Using the terrain model