Activity-on-node networks with minimal and maximal time lags and their application to make-to-order production