changing buffer size