divide / remark rows by sumup result

hi there, may i seek your help on this case.

I need to remark for rows that add up result is greater than or equal to 10. I tried a stupid way using moving aggregator and split the rows hit 10 and the rest rows continue the step of aggregation & split…

but it’s really slow when there’s tons of data.

the sign column is what i want