New resolver with A* algoryhtm