Change to a minimum block size

This changes the sample taken to be the max of the available
packets and the minimum specified packet size.  The hope is
this may cause less overflows on the pi.