There isn't one, per se, but since the random walk algorithm will get at least some of the gerbils where they're going, anyway, the solution is to have a ton of gerbils. Wikipedia explains drunken gerbils and drunken monitors: