Magnetic field computation in a physically large domain with thin metallic shields