Maximum Allowable Carryover Calculation Between Two Date