using 5000 bins and not 4097