Found a major bug with copying bitstreams to queue - we were copying structure instead of structure elements.