Old version (matrix logic based)
New version (pure random walk)