Optimization of Leach Protocol