Buffer size is configurable now. Closes GH-3