Refactor simplify microoptimization - fix memory pooling errors