Rearrange the range and regenerate the raw.