Apply smooth_thresh before seed points are calculated to avoid small segments.