Added printing of average packet size