So an updated to this: I tried implementing this as a set, but the problem is that when I switched to log binning, there is an unpredictable roundoff error when you write go to and from json files (or some other reason? I'm not quite sure why...) Anyway, when there are many places of the decimal in the bins, it is probably not a good idea to use a ```set()``` for this anyway, so I added a function, ```check_binning()``` to utils/utils.py and this seems to work very well here.