sparse nonsparse cases of rhs