bring initialization of scope under partial eval.

bring initialization of runtime under partial eval.
