Modeling thermodynamic stability of morphologies and surfaces of YF3