refactoring terrain creation