Fixed segmented/linear buffers manipulation.