Effect of wire EDM conditions on generation of residual stresses in