Use native closest when available.
Removed hipo dependency.