Further performance improvements.

Using a global buffer instead of creating a table anew in each GetSeries() call.