portioning of costs