InVEST is being used to find the least bad places for further upstream development , and to pinpoint those areas where paying the locals to maintain the environment will yield the greatest dividends downstream .