normalizing depths