crowdsourcing alogrithm