A Trade Algorithm for Multi-Region Models Subject to Spillover Externalities · Study