DisjointSet argument switch from Array to IndexedSeq