auto-repack in transactions that expand the tdb