Removed serialize/deserialize in rebuild; not reliable across node insertions; instead fixed buildNode to not destroy state