Use uint32 instead of uint16 in ComputeChildren