Heuristic computation