compare vec