Make upload buffer size depend on chunk size