The result was the worst quarterly loss in Merrill Lynch 's history , underscoring both the severity of the credit crunch and the brokerage firm 's failure to adequately understand or manage the risks it was taking .