Buffer size is now configurable.