A tale of two contribution mechanisms for nonlinear public goods