Physics debug rendering. Some more optimizations and differentiate max cache size differently in Debug and other modes as it takes a hellovalot more mem in Debug mode.