modified buffer size