Fix replaceRegionClever when using Diff >=0.2