got rid of problematic ensure_at_latest_heap