g_SpacerBeforeAfter std::out of range