Previously a bad impl won't panic, because the heap only have one iter.
This is the solution for Mini-LSM week 1 + week 2.