Made A* a smidgen faster