improve first packet length calculation when > 60