A Routing Scheme for Congestion Avoidance in Wireless Sensor Networks