solve the population next right points in each node problem.