Updated external copy of spheroDetector