On residual network depth