Fix partition rounding issues