Searching in lattice