Solved backwash issue with second union-find object