TreeBased Priority Queue