When trying to measure the line depth, I get the error "Infinite recursion error. Maybe there are no valid data?" 