modified calculation of representative PCs, and begin decoder address and value calculation