Decompositions of manifolds