Integrate get_te0_golomb() calls into the code, this allows some checks