Per code review, it seems like the depth return for kTooClose is not implemented correctly. We should add unit tests and then (presumably) fix the code.