A modification of the Monte Carlo method for steady heat conduction problems