Almost all cases in the recomposer covered.

Some cases still need to be fixed, especially the ones with complex
listing, or two list of trees as childrens.