Gains from parameters: Flexibility in the productivity distribution and international trade