Rebuild the overall pdf