some optimizations for node anim.