Tree range end

add range support for explicit "to" declaration