prepare to avoid copy of matrix