changed representation of the terrain from [[[Int]]] to UArray (Int,Int,Int) Int8. Minor code adjustment to the new way needed