less allocation of memory

tested only with product import