Selective logging and its relation to deforestation