Unfortunately, with the current definition of the neighborhood function, g, such an ordering does not exist.
we define a new GPU-friendly neighborhood function,g, for which an ordering that permits contiguous extraction does exist.