Handling of multiple baselines in vertical rhythm module