yield acc node before compacting sub-loops