How the company known for building almost went bankrupt and came back by building less.