Spend on building the infrastructure. it is very expensive to build waste water treatment facilities that can handle every storm so every place allows occasional are sometimes frequent excess to spill over when there is a big storm and if people are happy with that they have to spend the money to build the infrastructure but most people do not want to spend that much money so the alternative is to do a beach closure, buyout the time as the ocean flushes it away think about other infrastructure like nature can provide filtering of waste water so estuaries and salt marshes can filter for you ins...