Added dog distance heuristics