change buf size