Test for erode max size