spmatrix transfer and multi