Set union (∪Set) algorithm based on TPMMS