It is from libevent minheap