moved MaximumGap