Maximum partial area rule for phase equilibrium calculations