The Walk-on-Spheres method is used until the process gets \delta-close to the border. Then the sphere is replaced by its "intersection" with with the boundary of the domain.