Fix FixedThresholdSRG function bugs when stop criteria is 'size'.