Modify how to test the performance with sparse vetors