Page-break penalties were calculated by taking the amount of spare space