Max depth strategy

Hey,

Following #3, here's the depth exclusion strategy.