Buckmarble optimizations and performance enhancements