 Why convert the weights of CPDC only using the index 4 minus the sum? This makes me confused.