block recoding