Tell me why these layers are needed and why are there 6 of them? What will be the number of hidden layers with a board of a different size?