give ArrayList a customizable growthFactor