prune: keep objects reachable from recent objects