Made get chunk size configurable.