Implement radial tree algorithm