Change nsim to 2 so the example is meaningful