Added binning (again) to bin_dimensions.c