prototype Noel's n_cuts idea - tests pass