Decrease heap requirement for pp generator