Remeshing by curvature driven diffusion