Fix bug in MonteCarloAlt.