adding depth constant