NBA to borrow money to help half of their teams