Cleanup haversine.