If the angle between →a and →b is 2π3 and the projection of →a in the direction of →b is −2, then |→a|=