https://5dok.net/document/wq24mn2y-a-mean-value-approach-for-m-priority-queues.html