Lengthening undo buffer