boolean consistentLoop = isLoop && allFit;
boolean perfectLoop = false;
double compactness = determineCompactness(path);
if (consistentLoop) {
Tantrix tantrix = new Tantrix(path.getTilePlacements());
InnerSpaceDetector innerDetector = new InnerSpaceDetector(tantrix);
perfectLoop = !innerDetector.hasInnerSpaces();
//System.out.println("perfect loop");
}