Boundary_smoothing