Improving the MAC layer of multi-hop networks