Added a scan version of roots for debuging