Ensure that SS and NS contain unique values only

That would be faster. I can get you an update in an hour or so. :)