Optimizing repeat jars