properly defines GeneralizedHistogramBinning
check number of channels for gh