An infinite swapping approach to the rare-event sampling problem.