parameterize brushsize and cell size