Developed to understand and fix the behaviour of mark_for_destruction.