Finding the best-promising path with A*