Reworked data so that infinite nesting is possible.