adjust one assert; --write_buffer_size=IN_BYTES