Externalities in the Edgeworth box