fix to use sync.Pool instead of my nodePool struct