added leaves
added trees to dimension generation