text: After four weeks analyzing Countrywide's legal and financial predicament, and modeling how its loan portfolio was likely to perform, Bank of America offered an all-stock deal valued at $4 billion for Countrywide—a fraction of the company's $24 billion market value a year ago.