Making B0 and Z variable in each node