A Reliable And Energy Efficient Data Collection Solution For Wireless Sensor Networks