childCount = new int[nodes];
nodeChildren = new int[nodes][];
for (int i = 0; i < nodes; i++) {
vInt.readFields(in);
attribute[i] = vInt.get();
vLong.readFields(in);
nodeCount[i] = vLong.get();
vInt.readFields(in);
int childCountI = vInt.get();
childCount[i] = childCountI;
nodeChildren[i] = new int[childCountI];