Organized and sped up the terrain generation.