Contiguous distribution of data with defragmentation