Change page size variables to 16-bit types.