working on computing all decompositions