KdTree update(Work in Progress): Optimizing range and nearest API's