Often reverse is true. Trying to optimize system with million lines of code may require serious change in architecture and much harder because of backward compatibility and all the legacy baggage. As many people would describe it, it much harder to fix an airplane that must also continue to stay in the air.