Added repackaging op.
Currently pass objects on stack but it is slow.