Moved index buffer to typed arrays

Changed computeIndexBuffer in Table2.
Real index length buffer resizing.
TODO up.
Unrelated: valid item size for attributes.