Drift fields, a method for resource allocation in wireless networks