Improved Algorithm for the Soft Global Cardinality Constraint