use heap for activity heuristic