Fix bug, maximize the contribution.
Fix all 0 contribution and negative contributions.