remove useless checks
update some stuff
redo set with open addressing
move modcount when map/set is actually modified