Modified stochastic pseudocode.