inherits didn't work correctly

change the inherit class to a lookup of the classes in the object. the phy_tree splot must be there.