[sgm] add size_thresh param