refactor unpack-unreachable
repack magic
freshen objects when writing