Dielectric waveguide with scale-invariant effective index