rearrange buffers to managed is last