added function to detect all the furthest vertices