split out terrain heightmap into new class