Improved builder, and used size_t correctly in array implementation.