Dont uniq so much in prime paths generator