Add nearest neighbor object feature