Astar missing the cost+distance construction