Clean up debugging and realize that max packet length is 2^(21-1)