Priority queue for activity heuristic