Heuristic2 and some test