rangeProtect(), cmpNumSets() added.
duplication protector is needed.