Use only priority queues