"if all childs refer same children", I'm not too sure what it means.

Also maybe the `num_childs` var could be changed to `num_children`.