update to monte carlo for grid