calculate percentages properly for extended boluses that were interrupted