Optimized internal input autogrow method.