Make packet size configurable