Refactor : extract MX algo from main to MonteCarloCdoEngine