change all BagItem to MSetItem
change all BagItem to MSetItem
some changes in changing MSet to List