change radius search to k search