Avoid duplicates in bounded set