with heuristic 2