hack to print offsets while consuming to stdout