smooth all of the terrain

does anyone know of any editor scripts that will smooth all of the terrain at once?