// so, there is no sense to store the shift and the basic pattern separately
IPoint shift = pair.shifts.roundedPoints().iterator().next();
if (!shift.isOrigin()) {
pair = new MinkowskiPair(
pair.main.shift(shift.toPoint()),
Collections.singleton(IPoint.origin(shift.coordCount())),
null);
}
}
}
pair.incrementFromPrevious = incrementFromPrevious;