How public goods can generate regional structure: Simulations on the agent-based modelстатья