macos surge

pre: piecewise function
next: was to be