repaired ScanBench so that middle scan is always over the right number of elements