EG: removed recursion from HashSetLinear etc