Optimization attempt for the computation of causal flow.
(the optimization is disable for the moment.)