Stochastic analysis of dig limit optimization using simulated annealing