Optimize the inlining