I have two input irregular list of lists. One contains z-coordinates of certain nodes and the other the corresponding id of the node as follows:
z = [0,0,0]