Reduced Terrains memory usage
Added experimental terrain generation code