Astar tweaked