Bearly Alive: Performance Patch

Optimized memory allocation Performance Improvements