I believe all that is needed is to reset the upgrade effects to 1.1^(flips+1). Right now, it's kept at whatever it was before the flip * 1.1, which means there's sooooo much pentation kept through the "resets".