I asked my dad about this, and he laughed and said I was thinking like a programmer, and that's just not how legislators or administrators think - but it still doesn't seem that hard to me? Taxes work a lot like this - graduated brackets, where you only pay higher tax rates on income above specific amounts. You could apply the same idea to welfare benefits easily enough, or use a fancy equation like I suggested. :/