COD: change transform type to affine