Changed minimum area size and maximum number of points in contour