grid size changed, numb*matrix