Taking out 2k nearest neighbors