Text this: On a multistage discrete stochastic optimization problem with stochastic constraints and nested sampling