Backpressure implementation for Contiki OS