Binary heap for the win.