slow version of myAffine seems to work