more shadowy business in affine_map