fix off by one in page size masking.