Create column based on previous row value

I think the subtraction is always calculated, if you try it without nonNegative: true and fill(), you will see.