Optimized power algorithm for random walks on an hypercube.