New version using libhaloc for loop closure detection