Peculiar features of confinement factors in a metal-semiconductor waveguide