Enhance Transaction for segment insertion
Merge pull request #2 from aquariusbox/master

Enhance Transaction for segment insertion