Faster closest search