made possible also for non equidistant binning