rework EOF and size tracking to be in the index instead of having
the container do it.