rearrange block