Decompose-process calling itself recursively