Limit directory depth.