Paginate on build