diff reduction alg improvements