A novel state space reduction algorithm for team formation in social networks Article in PLOS ONE (December 2021)