What caused the economy to collapse in the panic of 1819?

lots of things