A finite element mesh optimization method incorporating geologic features for stress analysis of underground excavations