An Algorithm for Winning Coalitions in Indirect Control of Corporations