debugging Haversine