Basic / Specific Questions about coding HTM

I have a post with the particulars of mini-column and dendrite geometry here:

Some of the confusion is that since HTM models such a small part of the cortex it was easier to just connect to to the entire array with every dendrite. Real cortex has the limits I described above.