changed the random walk to a random walk along vertices.