using max number of Bins to calculate distribution of bins over the files