Improved TreeEP (added 'maxtime' property)