Updated value calculations to not depend on existing priorities.