REMOVE getAccumulatedFrequencies from the data set class and passed to the actual tree.