What is "greedy algorithm" option in resource config?