limit size of input path for confusion networks and lattices. Prevent memory blowup. /Yulia Tsvetkov