changed map/filter/every to be directly inserted into generated function

attempt at improving performance