A (hopfully) clearer and faster pass at the bdiff sub-sample loop.

The aim is to make it clearer that it is going up continuously (both to readers and the compiler).