fix the index range of (xc, yc); add decoding of coded_sub_block_flag