Removed hardcoded stack limit. Using increment method in onInput.