some extract testing and using intra-packet references for variable size data