A mixed modeling approach to predict the effect of environmental modification on species distributions