Pass by reference instead of pass by value in CRSSparsity