This is a function for test purpose only for small vector. I would like to keep the name as it in order the keep the original meaning of the corresponding PETSc function. However, I add a comment to this function.