reduced the amount of buffer allocated for writer thread