stack: Replace "o" output with "r" input constraint