Two pass compiler, introducing DDNode* size optimization heuristic on commutative ops