Add datalfow compilation (build method):
- dataflow sort (_sort method)
sort the dataflow and cycle detection
- dataflow data optimization (_data_optimize)
optimize data structure to optimize data progration
Update tests