Fix: nodes overflowed by children + intervals

This fixes an important bug where intervals take too much space within
nodes because max children space is not reserved. The max children
count is also transported with nodes now (in their header) to build
the exact same node that was written (because max children may be 0
to have leaf nodes that do not need children and may free that
space for more intervals).