reduced RAM consumption in multi-insert

keep the pointer in the struct
simplify multi-insert a little bit