> Do you have any good idea to solve this? If not, I think the previous solution is also acceptable after adding test case. No ideas, I'm afraid, or at least none that are unambiguously cleaner than your original DecodeSHLL solution. I agree you should commit that. Cheers. Tim.