use map as DagType to fix a unordered bug in different environment , by the way, it improves 1/6 speed
use map in extract to fix a unordered bug in different environment , by the way, it improves 1/6 speed