increase buffer (suggestion 1 from andrey mirtchovski)