Added Vector for the bases calculation