Max number of Absor error

Hello,
I have a geometry of 21 absorber with different materials and dimensions. I started from the example TestEm11, my geometry is defined in a macro (for now) but i need to modify in “detectorConstruction.hh” the constant:

    const G4int kMaxAbsor = 10;

from 10 to 22. When I try to start the program i got:

terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_M_construct null not valid
Aborted (core dumped)

I changed only that parameter and i don’t understand what is the problem, can someone help me?
Thanks

I guess, but I am not sure, it is enough to extend the array G4String id[ ], up to “32” or “33”
lines 67-69 of HistoManager.cc

This array is used in lines 97-102

Thank you so much, that was the problem.
Thanks again,

Gregorio