Simplified calculation of Z