ready to improve computeNeighborhood algorithm to compute distance measured in hops