Changed page size control to array.