enable swaps and compute the marginal score for the edits