Here you already have the pagesize in self.pagesize