Added config value for max size.
Merged.