Reset and choose new number of squares