Dealing with the anti-meridian line