add #subtree_diff

Signed-off-by: Sebastien Varrette <sebastien.varrette@uni.lu>