shrink after writing