Monte carlo methods and lattice discontinuities