Fix harvester algorithm