Local repo re-optimization