A flat left-associative between(n,..)+... chain overflows ffmpeg's recursive expression parser past ~110 terms ('Error while parsing expression' / 'Cannot allocate memory'); a 34-minute cut list has ~600. Fold the terms pairwise (balanced tree, log depth) in both the video select and audio aselect builders. Adds regression tests.