The " write-up , " an accounting gain driven by a rise in the value of the securities in the market , is a milestone for a company that suffered huge accounting losses as CDO values collapsed during the crisis .