Give packages with the same build string the same coefficient in the constraint