I think it works for finding consecutive sections of depth, but it is too slow. Going back to more of a binary check.