Bug fix, an "off by one" error in bucket calcs