update range tree to support non-distinct X coordinates