Reconstruction of silicon surfaces: A stochastic optimization problem