How do countries decide how much they can afford to borrow?