Usiong trees to investigate structural breaks