Improving the Search Algorithm to determine the ERP within PEERP