fix ApproximateHistogram combining factory