Implementation of Swendsen-Wang Cuts.