Causal computations in Semi Markovian Structural Causal Models using divide and conquer