Fast parallelizable scenario-based stochastic optimization