lattice decoding