thresholding size filter: set default value for min size to 10