Optimize a logic to generate all pairs yet to be covered in IPO's hg
method and make the tests for it fail when ipo method returns different
values than expected.