corrected shifts for boundary columns