Fixing recursive bug around Equator and Poles.