Scans all joint declarations in the entities in scene and connects all entities if their parts are found successfully.