A gastrectomy device includes an elongated member defining a centerline thatextendsthrough proximal and distal ends thereof A shape modification member coupledto theelongated member is movable relative to the centerline of the elongatedmember. The shapemodification member is movable between a first state, adjacent to theelongated member, anda second state, spaced from the elongated member. The shape modificationmemberconforms to a portion of a patient's stomach in the second state.