New constructor was defined for SparseVector and database reader was improved.