Terrain gen works (mostly) correctly