Support for the "depth" option

Hi ! 
 
Actually the "depth" option is available but does nothing, maybe it could be good to implement the feature ? :smile: