Fixes bug with Mesh Partitions

The max value of the vertexCount should match the max size of the index
array.