feature: heuristics and early exit.