Fix heuristic.