set also works from iterator, lrange not needed