fixed variable generation (with types), block creation from pyboject through gr_sptr in place