fix bug size of RootNodes. fix bug in record generator in chunks > 1