Use dynamic array for unpacker