mode structure of waveguide