Perturbative background to Monte Carlo calculations in lattice gauge theories