add func of combinations from itertools
use combinations in gen_all_holds