Fixed reconstruction of loops with fragments