rudimentary heightmap smoothing