Add length2() to vectors, for faster length checks