Share factors optimization in the push-sum algorithm for sensor networks