Each node currently has two mallocs, one for the node and one for its array of children, the node and children can be merge into a single malloc.
Each node currently has two mallocs, one for the node and one for its array of children, the node and children can be merge into a single malloc.