working on converting slice assignments to parfor