As Boeing examined its 787 production, certain defects came into focus: improperly sized shims that fill tiny gaps between sections of the airplane body, known as the fuselage, and variations on skin flatness in certain sections of the interior of the fuselage.