[OPTIQ-344] Lattice data structure