int (int lastAnswerIndex, int blockOffset) { int index = lastAnswerIndex; while (index + 1 < myBlocks.size()) { if (blockOffset <= myBlocks.get(index + 1).getStartOffset()) { break; } index++; } return index; }