Generate the Extra Index File with Metadata

// Metadata Format:
//
[N(unsigned),Level(unsigned),NextSplitPtr(unsigned),BottomLinePtr(unsigned)]

Nice Play:
unsigned metadata[] = {numberOfPages, 0, 0, numberOfPages-1};
memcpy(extraPage, metadata, sizeof(metadata));