expected value of Z^8