Specify the resulting array length of lcs_lens
Assert the length of slice1 passed to set_changed