minor refactor: explicitly track start of new bucket range and don't update curNearBucket on final loop.
minor refactor: explicitly track start of new bucket range and don't update curNearBucket on final loop.

chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin