mergeSubsets
debug output