using several successive scans of the optical code