Added multiprocessing, Different statcking methodology, correlated
constraints based on a linear window.