Editing for increased linearity