Revert GeometryPipeline changes and slightly reduce memory allocations.