How Credit Cycles across a Financial Crisis