Brock was getting $5,875,000 and got re-signed to $6,650,000.
If you know you are short of cap space, you either
don't sign Brock
or if you do sign Brock, you make sure you don't add so much cap hit that you now have to give up a player, and a pick, to clear the space you could have got, without giving up a pick.