Returns a pointer to encapsulated tree map.
If tree map has not been created, this method allocates a new tree map object.