dist and heur was confused