vectorization of NSPEEDS