generalized extractor to arbitrary equidistant binning, next step is to add this to pipe interface and implemnt non-eq. distant binning