about to generating lattice for dep