mid gap