change: buf_sizes -> buf_idxs