I've made a mistake when i tried shifting all terrains into classes.
I've returned to preshifting code.