base: move object alloction to CFG stubs