add prioritized sweeping with heuristics