Removed structure and replaced with array.  Removed overhead functions and reduce for simplicity.