reverse nodes in k group 2nd