A* OPTIMIZATIONS