core: limit page_size