pack-objects: refer to delta objects by index instead of pointer