oj minheap question