Revisiting the ‘great trade collapse’ with the endogenous input-choice model