convert back grid to pack