Profiler optimizations - removing reduntant inverse calculations