make uniform binning optional