Resonance scattering in a waveguide with identical thick barriers