include distance to connected nodes