Changes: Recalculate the page height