merge lattice