In matrix multiplication, only cells that share a row or a column index actually interact when doing multiplication.
in order to copy a nonterminal from (i, j) to another cell which represents the same set of spans, we have to copy it through cells such as (i, insert(j,x)) that share the index i with (i, j).