Different examples on how to map a 2D grid into a linear array: a) standard order, b) grid ordered by subblocks, and c) grid mapped usng a Hilbert space filling curve.