From local to global public goods: how should externalities be represented?