Finished the overlap depth functions