dynamically change cellsize