Associate transactions with sets for improved performance
Powerset refactor