Expose all parameters to CLI. Allow buffer size to change. Optimize allocations.