Avoid unnecessary byte position calculation for the gap movement.