update minimum operation number in StringProcess