added functions to define uniform axis binning