Use Python Memory pool as much as possible