Reconstruct using the given fragments and a little bit of loop closure.