changing treillis by lattice