added hashing imrovement to astar