Change stat class. Put it as a field in DataNode. Make necessary changes to DataNode, DataTree