Fix the logic to be a lot simpler and only work for boards of all the same length, since there was only one dimension of wood with different lengths, and it was easy to do manually.