another priority queue
sum of priority