This could perhaps be written in terms of `for (i, slice) in input.chunk_iter(64).enumerate()` but that's probably less clear.