Formation of inner gorges