Implementing terrains using the height map