reduce memory footprint by throwing away unused parent frames