Optimizing the transformed model