#143 Fixed non-deterministc occassional failure of A* solver