fix bug when binsize is larger than range of data
Merge pull request #40 from esheldon/master

fix bug when binsize is larger than range of data