Randomizing the stack effect