bow pairs sim added
SparseVector toList added