Updated to use set buffer_size_.