forked from etpinard‘s block: trace struct flattener
forked from etpinard‘s block: scatter inner nodes ordering