random order of steps in RS and RIS