decrease size of buffer