Reworking indexing in spatial HEX.