Corrected heuristics in script (6 and 7), and test in explo.