moved histogram generation to the feature_recorder