Speed up tx id generation