ChannelHistogramRelative query speed up