Algorithms tick where I have implemented a max-heap.