The error seems to occur during the serialization step when the octree's data buffer is larger than `Int32.MaxValue` bytes.