Better implementation of createRowCandidates using nub and \\