extra debugging statement in DetectBoundary