fix: approx. comparison for nearest neighbors