Getting number of nodes correct, finishing MinimizingPotentialOnParallelPlanes