Added monte-carlo to single thread