deleted something in the depth calculation

deleted something in the depth calculation