I am trying to find an alternative algorithm that groups vectors in a list that are connected directly or indirectly - By \'connected\', I mean having a non-empty intersecti