I am trying to implement graph based slam using LIDAR data. So far I have created a pose graph and used scan matching to obtain odometery data. I have used this data to create pose constraints (edges) between successive nodes. Now I need to add loop closing edges but i dont know how to go about it. I should I detect loop closing edges.