hack away at sth
informal— phrasal verb with hack uk/hæk/usverb [ I or T ]
to slowly reduce the amount of money, staff, or resources that are needed in order to be successful:
Profits are in a free fall, and companies are slashing spending on new equipment and hacking away at payrolls.