Fix use of unique.
Add back chardist relev penalty.
By ref.