Added depth rules for bounds.