Adjust weights.