Defining the number and size of the filters