Removing duplicate surfaces in box formation

Hi,

I am trying to get rid of all the interior face in the collection of boxes.  Here i show a small sample of them, 41 in total, but I am trying to do this on a much larger scale with hundreds of them. I am trying to identify the faces that are in the exact same place and cull both of them out.  I know that i could Boolean them all together but it would take forever.. I am looking for a much more efficient way.  I have looked at http://www.grasshopper3d.com/forum/topics/double-surfaces?page=1&am... and didn't find a solution.  

Separate boxes 

Here is the desired result with part of it pulled apart to show how there is no interior faces. 

Help would be much appreciated.  

Cheers