Okay this damn A* is broken :'(