STG - A Subtransaction Generator Tool