This article, based on what I’ve read so far, seems like it could be very helpful for formulating an optimal solution, so thank you for that. Tomorrow I’m going to try an automatic process based on the algorithm idea I briefly touched upon above and get back with the results if nobody presents a better solution, as the time I’ve taken to think about how to organize and structure it has resulted in some ideas that I think might be worth trying.