val children: List<NodeAndWeight>
Τhe order of the children may not be the same to what was provided in the builder.