Calculate inhop/outhop reach
Add directed case