mark conflicted indices as undefined, then fill with -1s after matrix is resolved