Combine BinaryQueue and Hashtable for fast lookup and priority quickness