sped up monte_carlo_estimation by 2x