Added missing file and fixed issue with not stabilizing last node.