Fix nIndices size loading method.