Subsets generator.