ArrayGuts - added maxInputLength constructor argument