Updated degree heuristic.