You are saying "Toward the end of the housing bubble"
Call it what it really was. Toward the hedge funds' manufactured end of the subprime industry, and in it's dying throes, some companies tried anything to show a profit to offset the artificial decline in the value of their portfolios caused by MtM.