Fix a bug that truncated the input to 1k.
Add usage.