change DEFAULTCHUNKSIZE to varaiable
Change LARGECHUNKSIZE to variable