Lookup table in h3 looks promising.