Indexes are correctly parsed, now we need to reconstruct the buffers with
these indexes.