made initTree use world coords