initializing m_NumFeaturesPerParent to -1 was resulting in one less than the actual number of features being inserted being written so now it's initialized to zero