unsigned int lastHit = offsets[next+1]-1; can occasionally go very wrong when offsets[next+1] is 0.
unsigned int lastHit = offsets[next+1]-1;
offsets[next+1]
cc: @sponce, @gligorov , @rquaglia this should allow the throughput test in the nightlies to work again.