Memoized subsetConstructions recursion.