add missing affine fit