Terrain optimization and multiple ziggurats