modified LatticeSimulator::walk()