Lookup table morton encoding