starting to use the bijective encoder to fix birthday paradox