To free ride or not to free ride? Role of patterning and feedback in the public goods game ∗