calculate all combos