The algorithm is not optimized in any respect, this means no criteria are applied, the pair set is unordered, and no interreduction is made.