Splitting off generation of string and array for page sizes