adaptive linear deformation