changed integer division in public goods