refactored deformers, fixed endpoint cutting