genetic algorithm for optimizing ePIE parameters