Optimal expenditures on police protection