SparseMatrix.append avoid unneeded increase of triplet capacity