Updated harvester algorithm