add packet based mode for variable length tags