Completed depthSum