Bugfix: proper sphere_distance in seaming