Partially graft

Hi everyone =D
My Question is:

How can i partially graft a data tree from:

{0;0} containing 1000 items
{0;1} containing 1000 items
{0;2} containing 1000 items

to this structure

{0;0;0}
{0;0;1}

{0;0;999}
{0;1;0}
{0;1;1}

{0;1;999}
{0;2;0}
{0;2;1}

{0;2;999}

Important to notice: the number of branches should be changable.
The incoming data tree structure also could be:
{0;0} containing 1000 items
{0;1} containing 1000 items
{0;2} containing 1000 items
{0;3} containing 1000 items
{0;4} containing 1000 items

Pleas help
thanks =)

Graft the tree?


Interesting. I alwalys used the graft-option from the inputs or output.

Work for me. THANKS A LOT !
Have a great day