Corrected Terrain constructor.