add minimum packet interval to stats
realign printed stats
bash: handle inf in check_stat()