The distance at the closest point between any two buildings or groups of attached buildings, including accessory buildings, shall be at least as great as the average height of the two adjoining buildings, but not less than 30 feet. Connecting corridors may be permitted at the discretion of the Fire Marshal.