implement scribegnin and dataflow with vm allocation