const LOOK_BACK: usize = 4;
How many recent tokens the scanner keeps: enough for for index, item.
for index, item