Use references in calculateMinimumPageHeight() for non-optional arguments