Numerical analysis of uniform rectangular waveguides filled by inhomogeneous dielectrics