n hop reachability