Changed buffer size to a smaller, more suitable value.