actually count how many non-zero tiles are in the layer and use that as the starting capacity,
if it exceeds our preset threshold of 35% x (layer width x layer height).
was running into a limit of 16384 quads due to m_pIndices being implemented as an array of unsigned shorts.
 changing it to an array of unsigned ints seems to resolve this limit issue..