Added a check for the maximum possible value for idx in add(T) method.
Added a check for the maximum possible value for idx in add(T) method.

MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim