use only one vector for board storage