In order to match the length of the maintenance tunnel with the length of the dam, the tunnels location and length nodes were combined with the dams width node. As a result the length of the maintenance tunnel inside the dam adjust to the changes in the input parameter of the dam length.