page size class. fixes #54