A new solution for shallow and deep tunnels by considering the gravitational loads