I\'m trying to achieve something like this without a lot of higher-level codes, and customizations. Will be okay if the solution works really well on cases of deeply nested