use set reduction to determine visibleTo set and prevent dups