check range of bins