Combinatorics of beacon-based routing and coverage