Modified bqm weighting