UI biology professor finds 'Goldilocks' effect in snail populations