couldn't get a smaller sum without waste-chaining