i am trying to reprogram these parts but the existing program does not come off
May i know which quartus programmer version you are using? This is MAX7000, is a legacy device. Probably you might need to use older quartus version.
For more complete information about compiler optimizations, see our Optimization Notice.