Improvement to Transact

Still not working correctly, I'll add an optimization route in
HashBucket. Nested transactions still missing.