Comple find vector's index