On the calculation of multicomponent stable phase diagrams