Further optimization of the vector code.