Weak optical modes for high-density and low-loss photonic circuits