Reverted pqueue