Asking people to examine three GH scripts is a little much. I looked only at your “current file” but it has extra bits that are surely irrelevant so is not easy to understand.
The output doesn’t help:
Your thread title is useless. Can you narrow down your question please?
1. Choose a descriptive title for your post
Don’t title your question Help! or I have a problem or Deadline tonight! , but actually describe the problem you are having.
P.S. I started to look again at your GH code but quickly stopped when I saw this:
You go to the trouble of creating a massive 3D array of points (Box Array), wrap a Bounding Box around them and then ignore the points completely WHAT
Why didn’t you just create the box?
I can’t look anymore.