add setlib, for generating subsets (all, size-k, size-k-or-smaller)