I have a set of data (New structure - please ignore from now that I have an invalid mesh) in which I need to restore to the original structure where I have the null branches. How can I efectvely do that?

The example I provided matches the structure of the Original structure input. I used the Null component after the mass addition to have a placehold for N=0 branches. Then after the weave we can replace the N=1 with nothing (N=0)