boundary erosion