Process optimization for rapid manufacturing of complex geometry electrical discharge machining electrode