Converted the scan into a queue-based scan.