sparsity versus rank