inverting_a_long_flat_table_does_not_rescan_it_for_every_pixel passed only
when 200,000 inversions of a 4,000,001-entry table finished within 10 s.
A test-only counter now records each entry edge_index reads. The test
checks that one inversion reads at most log2(n) + 2 entries and that the
200,000 inversions read at most 200,000 times that. With edge_index
scanning the run, one inversion reads 4,000,001 entries and the test
fails.