use a bitset to create sorted int set between collectLimit and smallSetSize