Smoothing of terrain