calculate tox id length from definition in tox.h instead of setting it manually