optmstc-flow