Added TreePartition support, for using the concept of Tree Parts