public static void RegisterFindNearestNeighbour(FindNearestNeighbour findNearestNeighbour)
    {
        if (Instance.objectsToUpdateNearestNeighbours.Contains(findNearestNeighbour))
        {
            throw new Exception("Trying to register an already registered object ");
        }

        Instance.objectsToUpdateNearestNeighbours.Add(findNearestNeighbour);
        Instance.UpdateKdTree();
    }