Creating harakiri for each node correctly