greate improvement on small operations by change Transaction.allocate_ids