Make use of a local pool to avoid over-memory usage