add basic find depth from a string like '((00)0)'