Better packet size estimation