enhanced deck encoding for ids up to 24000
added new deck encoding ddd_b64