Effects of habitat fregmentation on a tri-trophic system door