Fixed issues in partial packet clculations