fixed var wireLenth to wirelength typo on the var name