changed BoardVector to define number of rows