[FIX] Changing parameter order in weaklyConnectedComponents().