int size = 32;
int nextSize;
int prevNextSize = AdaptiveBufferSizePredictor.DEFAULT_INITIAL;
for (int i = 0; i < 100; i++) {
predictor.recordSize(size);
nextSize = predictor.nextSize(null);
if (i % 2 != 0) {
if ((nextSize * 0.88) < size)
break;
else {
assert nextSize < prevNextSize;