Functions end_solve now return a Node struct.
Code is faster by around 5%, this is unexpected!