Terrain editor

some nice constant instead of magic number