touched up algorithm