fix f(f(f(x))) in creating sets... much much faster