Decomposition of modules