Approximating maximum integral flows in wireless sensor networks via weighted-degree constrained k-flows