Wireless sensor networks are a class of distributed systems that sense their data from the surroundings in real time. Compared with the traditional wireless networks, wireless sensor networks have energy constraints, low-data-rate of high redundant and data flow of high-to-one, and so on. Energy effectiveness is the key performance indicators of wireless sensor networks. The optimal probability is generically related to the life response of nodes and significantly affects the number of alive nodes with respect to iterations. However, its effects are shadowed by the distance of reference at higher values.