switch to hashset
locality hints