added an experimental measure to stabilize remeshing.