Only optimize subsystems that are actually used.