yet more work on performacne
make terrain run in strict mode