Set appears to be faster
Consistency!
Better algorithm