more paste optimization