Changed max corrected lineshift to 3 pixels.