inlining tuning
uninline some functions
chenge for inlining
trivial optimize