Heuristic modified

singleton problem