We never touch the heap until we have a full window of samples, so we don't need to handle that in the Len function.
Strictly speaking, we want the length of the heap, not the window, even though they are both exactly the same.
Use panic instead of wimping out with log.Fatal in places where we should not be.