Adjust buffer sizes.